package com.group9.mapper;

import com.group9.pojo.FruitPic;
import com.group9.pojo.FruitPicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FruitPicMapper {
    int countByExample(FruitPicExample example);

    int deleteByExample(FruitPicExample example);

    int deleteByPrimaryKey(Integer fruitPicId);

    int insert(FruitPic record);

    int insertSelective(FruitPic record);

    List<FruitPic> selectByExample(FruitPicExample example);

    FruitPic selectByPrimaryKey(Integer fruitPicId);

    int updateByExampleSelective(@Param("record") FruitPic record, @Param("example") FruitPicExample example);

    int updateByExample(@Param("record") FruitPic record, @Param("example") FruitPicExample example);

    int updateByPrimaryKeySelective(FruitPic record);

    int updateByPrimaryKey(FruitPic record);
}